package Modellayer;

/**
 *
 * @author bruhn
 */
public class Product {


        private Supplier supplier;
        private String name;
        private int productID;
        private double purchasePrice;
        private double salesPrice;
        private double rentPrice;
        private String countryOfOrigin;
        private int minStock;
        private int maxStock;
        private int currentStock;
        private String type;
        private int amount;

        public Product()
        {
        }

        public Product(Supplier supplier, String name, double purchasePrice, double salesPrice, double rentPrice, String countryOfOrigin, int minStock, int maxStock, int currentStock, String type )
        {
            this.supplier = supplier;
            this.name = name;
            this.purchasePrice = purchasePrice;
            this.salesPrice = salesPrice;
            this.rentPrice = rentPrice;
            this.countryOfOrigin = countryOfOrigin;
            this.minStock = minStock;
            this.maxStock = maxStock;
            this.currentStock = currentStock;
            this.type = type;
        }

    public int getProductID()
    {
        return productID;
    }

	public void setProductID(int ID)
	{
		productID = ID;
	}

    public String getCountryOfOrigin() {
        return countryOfOrigin;
    }

    public void setCountryOfOrigin(String countryOfOrigin) {
        this.countryOfOrigin = countryOfOrigin;
    }

    public int getCurrentStock() {
        return currentStock;
    }

    public void setCurrentStock(int currentStock) {
        this.currentStock = currentStock;
    }

    public int getMaxStock() {
        return maxStock;
    }

    public void setMaxStock(int maxStock) {
        this.maxStock = maxStock;
    }

    public int getMinStock() {
        return minStock;
    }

    public void setMinStock(int minStock) {
        this.minStock = minStock;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getPurchasePrice() {
        return purchasePrice;
    }

    public void setPurchasePrice(double purchasePrice) {
        this.purchasePrice = purchasePrice;
    }

    public double getRentPrice() {
        return rentPrice;
    }

    public void setRentPrice(double rentPrice) {
        this.rentPrice = rentPrice;
    }

    public double getSalesPrice() {
        return salesPrice;
    }

    public void setSalesPrice(double salesPrice) {
        this.salesPrice = salesPrice;
    }

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    public String getType()
    {
        return type;
    }

    public void setType(String type)
    {
        this.type = type;
    }

    public int getAmount()
    {
        return amount;
    }

    public void setAmount(int amount)
    {
        this.amount = amount;
    }


}
